<template>
  <el-table :data="tableData" style="width: 100%">
    <el-table-column type="selection" width="55" />
    <el-table-column label="Date" width="120">
      <template #default="scope">{{ scope.row.date }}</template>
    </el-table-column>
    <el-table-column property="name" label="Name" width="120" />
    <el-table-column
        property="address"
        label="use show-overflow-tooltip"
        width="240"
        show-overflow-tooltip
    />
    <el-table-column property="address" label="address" />
  </el-table>
</template>

<script lang="ts" setup>
interface User {
  date: string
  name: string
  address: string
}
const tableData: User[] = [
  {
    date: '2016-05-04',
    name: 'tony',
    address: '11',
  },
  {
    date: '2016-05-03',
    name: '李白',
    address: '22',
  },
  {
    date: '2016-05-02',
    name: '杜甫',
    address: '33',
  },
]
</script>
